﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ProMvc.Controllers
{
    public class DataTranferController : Controller
    {
        //
        // GET: /DataTranfer/

        public ActionResult Index()
        {
            ViewData["data"] = DateTime.Now.ToString();
            TempData["temp"] = DateTime.Now.AddDays(1).ToString();
            return View();
        }
    }
}
